<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">

		<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
		Remove this if you use the .htaccess -->
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

		<title>login_view</title>
		<meta name="description" content="">
		<meta name="author" content="Juan Pablo Aveggio">

		<meta name="viewport" content="width=device-width; initial-scale=1.0">
		
		<link rel="stylesheet" type="text/css" href= "<?php echo LIB_PATH . "bootstrap/css/bootstrap.min.css" ?>" />
		<link rel="stylesheet" type="text/css" href= "<?php echo CSS_PATH . "ct-navbar.css" ?>" />

		<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
		<!-- <link rel="shortcut icon" href="/favicon.ico"> -->
		<!-- <link rel="apple-touch-icon" href="/apple-touch-icon.png"> -->
	</head>

	<body>
		<div class="container">
			<div>
				<?php echo form_open('singup'); ?>
					<h2>Registrarse en Picones</h2>
					<div class="form-group">
						<label class="hidden-xs" for="nombre">Nombre</label> <br />
						<?php 
							$input = array(
								'name' => 'nombre',
								'id' => 'nombre',
								'class' => 'form-control',
								'size' => '20',
								'placeholder' => 'Nombre',
								'value' => $jugador['nombre']
							);
							echo form_input($input);
							echo form_error('nombre'); 
						?>
					</div>
					<div class="form-group">
						<label class="hidden-xs" for="apellido">Apellido</label> <br />
						<?php 
							$input = array(
								'name' => 'apellido',
								'id' => 'apellido',
								'class' => 'form-control',
								'size' => '20',
								'placeholder' => 'Apellido',
								'value' => $jugador['apellido']
							);
							echo form_input($input);
							echo form_error('apellido'); 
						?>
					</div>
					<div class="form-group">
						<label class="hidden-xs" for="username">Nombre de usuario</label> <br />
						<?php 
							$input = array(
								'name' => 'username',
								'id' => 'username',
								'class' => 'form-control',
								'size' => '20',
								'placeholder' => 'Nombre de usuario',
								'value' => $jugador['username']
							);
							echo form_input($input);
							echo form_error('username'); 
						?>
					</div>
					<div class="form-group">
						<label class="hidden-xs" for="password">Contraseña</label> <br />
						<?php 
							$input = array(
								'name' => 'password',
								'id' => 'password',
								'class' => 'form-control',
								'size' => '20',
								'placeholder' => 'Contraseña',
								'type' => 'password'
							);
							echo form_input($input);
						?>
					</div>
					<div class="form-group">
						<label class="hidden-xs" for="password-conf">Confirme la contraseña</label> <br />
						<?php 
						$input = array(
								'name' => 'password-conf',
								'id' => 'password-conf',
								'class' => 'form-control',
								'size' => '20',
								'placeholder' => 'Confirme la contraseña',
								'type' => 'password'
							);
						echo form_input($input);
						echo form_error('password'); 
						?>
					</div>
					<div class="form-group">
						<label class="hidden-xs" for="descripcion">Descripción</label> <br />
						<?php 
							$input = array(
								'name' => 'descripcion',
								'id' => 'descripcion',
								'class' => 'form-control',
								'type' => 'text',
								'rows' => '3',
								'cols' => '50',
								'placeholder' => 'Descripción',
								'value' => $jugador['descripcion']
							);
							echo form_input($input);
							echo form_error('descripcion');
						?>
					</div>
					<button class="btn btn-lg btn-primary" type="submit">Registrarse</button>
				</form>
			</div>
		</div>
		<div class="footer">
   	   		<div class="container">
        		<p class="text-muted">&copy; Copyright  by Aveggio, Alcalde</p>
      		</div>
    	</div>
	</body>
</html>
